Skip to content

KAFKA-17689: Remove unused TieredStorageTestHarness#22445

Open
joshua2519 wants to merge 1 commit into
apache:trunkfrom
joshua2519:KAFKA-17689-remove-TieredStorageTestHarness
Open

KAFKA-17689: Remove unused TieredStorageTestHarness#22445
joshua2519 wants to merge 1 commit into
apache:trunkfrom
joshua2519:KAFKA-17689-remove-TieredStorageTestHarness

Conversation

@joshua2519
Copy link
Copy Markdown
Contributor

Nothing extends TieredStorageTestHarness since the tiered-storage integration tests moved to the @ClusterTemplate + ClusterInstance pattern. This deletes it and its now-dead adapter HarnessBackedClusterInstance, moves the two still-used static helpers (remoteStorageManagers, localStorages) into TieredStorageTestUtils, and refreshes the README. Test-only change.

@github-actions github-actions Bot added triage PRs from the community tests Test fixes (including flaky tests) storage Pull requests that target the storage module labels Jun 2, 2026
Copy link
Copy Markdown

@Russole Russole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @joshua2519 for working on this. Mostly LGTM. Just left a few minor comments.

# The Test Flow

Step 1: For every test, setup is done via TieredStorageTestHarness which extends IntegrationTestHarness and sets up a cluster with TS enabled on it.
Step 1: Each test is a standalone class. It declares a `clusterConfig()` method that returns a `ClusterConfig` with tiered storage enabled (via `TieredStorageTestUtils.createServerPropsForRemoteStorage`), and test methods annotated with `@ClusterTemplate("clusterConfig")` that receive a `ClusterInstance` provided by the test framework.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: The current wording says clusterConfig() returns a ClusterConfig, but the tiered storage tests generally return List<ClusterConfig> from their @ClusterTemplate methods. Could we make this slightly more precise, e.g. “returns one or more ClusterConfig instances, typically as List<ClusterConfig>”?

@github-actions github-actions Bot removed the triage PRs from the community label Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved storage Pull requests that target the storage module tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants